/**
 * 作者：陈文斌 on 2019/1/18.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:json_annotation/json_annotation.dart';
import 'package:crm/model/Employee/employee_model.dart';

part 'employee_privacy_settings_model.g.dart';

@JsonSerializable()
class EmployeePrivacySettingsModel extends Object with _$EmployeePrivacySettingsModelSerializerMixin {
  String Id;
  bool AllowStrangerViewMyPhoneNumber;
  bool SearchMeByPhoneNumber;
  bool RecommendMeFriendsByMobileAddressBook;
  EmployeeModel Employee;

  EmployeePrivacySettingsModel(
    this.Id,
    this.AllowStrangerViewMyPhoneNumber,
    this.SearchMeByPhoneNumber,
    this.RecommendMeFriendsByMobileAddressBook,
  );

  @override
  factory EmployeePrivacySettingsModel.fromJson(Map<String, dynamic> json) => _$EmployeePrivacySettingsModelFromJson(json);
}
